package com.cloud.basic.test;

import java.util.HashMap;
import java.util.Map;

/**
 * @program: basic
 * @description:
 * @author: Cloud
 * @create: 2022/3/7 10:49:48
 */
public class testArrayList {

    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        StringBuffer stringBuffer = new StringBuffer();
        for (int i = 0; i < 20; i++) {
            stringBuffer.append("1");
        }
        long end = System.currentTimeMillis();
        System.out.println("需要消耗的时间是："+(end - start));
        Map<String, Object> map = new HashMap<>(10);
        map.put("","");
    }
}
